package com.dries.portal.module.portal.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 店铺收藏
 * 
 * @author dries
 * @email samphsanie@gmail.com
 * @date 2020-08-27 11:08:38
 */
@Data
@TableName("xx_shop_collect")
public class ShopCollect implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 店铺ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long shopId;
	/**
	 * 用户ID
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long userId;

}
